home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacHack 2000
/
MacHack 2000.toast
/
pc
/
The Hacks
/
Softshoe
/
Lisa's Mac Parts
/
Events
/
Tick.cp
< prev
next >
Wrap
Text File
|
2000-06-23
|
255b
|
18 lines
// Tick.cp
#ifndef Tick_h
#include "Tick.h"
#endif
#ifndef Assert_h
#include "Assert.h"
#endif
void Tick::WaitFor() const
{
// This is a pretty annoying way to wait for long periods
Assert( *this - Now() <= 300 );
while ( *this > Now() )
;
}